package com.cloudkinto.vo.cost;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CostPageVo {
    private Long id;
    private String warehouse;
    private String company;

    @ApiModelProperty("oms单据号")
    private String orderNo;
    @ApiModelProperty("oms单据号id")
    private Long orderId;

    @ApiModelProperty("业务类型 10 入库 20 出库 30仓租 40工单 1000 其他")
    private Integer moduleType;

    @ApiModelProperty("单据类型 一件代发入库 备转中入库 退件 一件代发出库等等")
    private String orderType;

    @ApiModelProperty("费用单据号")
    private String costNo;


    @ApiModelProperty("仓库")
    private Long whId;

    @ApiModelProperty("仓库名称")
    private String whName;
    @ApiModelProperty("仓库代码")
    private String whCode;

    @ApiModelProperty("客户id")
    private Long companyId;
    @ApiModelProperty("客户名称")
    private String companyName;
    @ApiModelProperty("客户编号")
    private String companyCode;

    @ApiModelProperty("总金额")
    private BigDecimal costTotal;


    @ApiModelProperty("币种")
    private String currencyCode;

    @ApiModelProperty("报价方案id")
    private Long quotationId;

    @ApiModelProperty("tenant_id")
    private Long tenantId;


    @ApiModelProperty("手动调整")
    private Boolean manualAdjust;

    @ApiModelProperty("计费状态 1未计费 2已计费 3重新计费中 4计费中")
    private Integer costStatus;


    @ApiModelProperty("记费时间")
    private Date costTime;

    @ApiModelProperty("oms单据创建时间")
    private Date omsOrderCreateTime;

    @ApiModelProperty("费用单据创建时间")
    private Date createTime;

    @ApiModelProperty("仓租日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date rentDate;

}
